<div class="span10">
    <div class="control-group">

        <?php echo anchor('admin/add_user', '<button class="btn btn-primary" href="#"><i class="icon-plus icon-white"></i> Tambah</button>') ?>
    </div>
    <table class="table table-bordered table-striped">
        <thead>
            <tr>
                <th>ID</th>
                <th>Nama</th>
                <th>Hak Akses</th>
                <th>Email</th>
                <th>Phone</th>
                <th>Action</th>
            </tr>
        </thead>
        <tbody>
            <?php $a = 1; ?>
            <?php foreach ($usr as $user) : ?>
                <tr>
                    <td>
                        <?php echo $a ?>
                    </td>
                    <td><?php echo $user->nama; ?></td>
                    <td><?php echo $user->akses; ?></td>
                    <td><?php echo $user->email; ?></td>
                    <td><?php echo $user->phone; ?></td>
                    <td>
                        <!--<span class="muted">None</span>-->
                        <a href="<?php echo site_url() ?>/admin/ubah_usr/<?php echo $user->id; ?>"><i class="icon-pencil tool"></i></a> | 
                        <a href="<?php echo site_url() ?>/admin/del_usr/<?php echo $user->id; ?>" 
                           onclick="return confirm('Apakah sudah benar benar yakin untuk menghapus data ?')"><i class="icon-remove tool"></i></a> 
                    </td>
                    <?php $a++ ?>
                </tr>
            <?php endforeach; ?>
        </tbody>
    </table>
    <?php echo $this->pagination->create_links(); ?>
</div>